package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class PayManage {
    private Long id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
    //支付金额
    private BigDecimal money;
    //摘要
    private String summary;
    //支出人
    private Employee payer;
    //经手人
    private Employee handler;
    //支付方式
    private DictionaryItem payment;
    //花费类型
    private String pay_type;
    //单据号
    private String bill_number;
    //归属班级
    private ClassRoom classMan;
    //审核人
    private Employee employee;
    //状态
    private Boolean state;
}